package com.tkjt.pms.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**   
 * @Title: Entity
 * @Description: tk_index_info
 * @author onlineGenerator
 * @date 2019-11-27 12:17:51
 * @version V1.0   
 *
 */

@Data
@TableName("tk_data_config")
public class TkDataConfig implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	/**ID*/
	@TableId(type = IdType.ID_WORKER_STR)
	private String id;
	/**用户登录账号*/
	private String userName;
	/**kpi:考核数据; budget:预计数据*/
	private String dataType;
	/**当前配置是否有效，1：表示生效，0：表示失效*/
	private String isValid;

	/**createBy*/
	private String createBy;
	/**createDate*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createDate;
	/**updateBy*/
	private String updateBy;
	/**updateDate*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateDate;
}
